#include "CRtspClient.h"

void CallBackFunc(SPropRecord *pRecord, int nRecords, u_int8_t *fReceiveBuffer, unsigned frameSize)
{
}

int main(int argc, char const *argv[])
{
    BasicTaskScheduler *pScheduler = BasicTaskScheduler::createNew();
    BasicUsageEnvironment *pEnv = BasicUsageEnvironment::createNew(*pScheduler);

    CRtspClient *rtspClient = new CRtspClient();
    rtspClient->Open(*pEnv, "rtsp://192.168.1.64:554", "user", "password", std::bind(&CallBackFunc, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3, std::placeholders::_4));

    return 0;
}
